-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support delete index in es API #4606
Conversation
e51e3ee
to
822c504
Compare
740079c
to
41fc263
Compare
quickwit/rest-api-tests/scenarii/es_compatibility/0024-delete_indices.yaml
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,43 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a bummer these tests don't pass with --engine elasticsearch
. I think we lack index creation to make them pass seamlessly, but it should be possible to create in the index conditionally with
engines:
- quickwit
# quickwit api here
---
engines:
- elasticsearch
# es api here
and removing the api_root and _elastic prefix on other requests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the tests to cover elastic search compatibility
// disallow index_id patterns containing * | ||
for index_id_pattern in &index_id_patterns { | ||
if index_id_pattern.contains('*') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may also want to reject _all
if we don't support it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to reject _all
e23d083
to
3dbfc2c
Compare
3dbfc2c
to
01042d6
Compare
closes #3841
How was this PR tested?
rest-api-test